﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_PersonStock.cs
// 创建时间：2016/12/3
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///个人库存总表(ERP_PersonStock)数据实体
	/// </summary>
	[Serializable]
	public class ERP_PersonStock
	{
		#region 变量定义
		
		///<summary>
		///库存ID
		///</summary>
		private int _storeId;
		
		///<summary>
		///商品价格详情ID
		///</summary>
		private int _detailId;
		
		///<summary>
		///人员ID
		///</summary>
		private string _userId = String.Empty;
		
		///<summary>
		///库存数量
		///</summary>
		private int _count;
		#endregion
		
		#region 构造函数

		///<summary>
		///个人库存总表的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_PersonStock()
		{
 
		}
		///<summary>
		///个人库存总表
		///</summary>
		public ERP_PersonStock
		(
			int storeId,
			int detailId,
			string userId,
			int count
		)
		{
			_storeId  = storeId;
			_detailId = detailId;
			_userId   = userId;
			_count    = count;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///库存ID
		///</summary>
		public int StoreId
		{
			get {return _storeId;}
			set {_storeId = value;}
		}

		
		///<summary>
		///商品价格详情ID
		///</summary>
		public int DetailId
		{
			get {return _detailId;}
			set {_detailId = value;}
		}

		
		///<summary>
		///人员ID
		///</summary>
		public string UserId
		{
			get {return _userId;}
			set {_userId = value;}
		}

		
		///<summary>
		///库存数量
		///</summary>
		public int Count
		{
			get {return _count;}
			set {_count = value;}
		}
	
		#endregion
		
	}
}